package com.ruoyi.project.rest.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单对象 rest_order
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public class RestOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    private String orderNo;

    /** 桌位号 */
    @Excel(name = "桌位号")
    private String deskNum;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal money;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private BigDecimal payMoney;

    /** 用餐人数 */
    @Excel(name = "用餐人数")
    private Integer useMunber;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private Integer state;

    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setDeskNum(String deskNum)
    {
        this.deskNum = deskNum;
    }

    public String getDeskNum()
    {
        return deskNum;
    }
    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }
    public void setPayMoney(BigDecimal payMoney)
    {
        this.payMoney = payMoney;
    }

    public BigDecimal getPayMoney()
    {
        return payMoney;
    }
    public void setUseMunber(Integer useMunber)
    {
        this.useMunber = useMunber;
    }

    public Integer getUseMunber()
    {
        return useMunber;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderNo", getOrderNo())
            .append("deskNum", getDeskNum())
            .append("money", getMoney())
            .append("payMoney", getPayMoney())
            .append("useMunber", getUseMunber())
            .append("remark", getRemark())
            .append("state", getState())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
